package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Friend;

import java.util.List;

public interface FriendApi {
    //添加联系人
    void save(Long userId, Long currUserId);
    //分页查询好友
    List<Friend> findByUserId(Long userId, Integer page, Integer pagesize);
    //删除好友关系
    void delete(Long userId, Long friendId);
}
